/* 
 el-table 组件
*/

.el-table {
    border-radius: 20px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.el-table tr {
    height: 8vh;
}

.el-table .el-table__cell {
    padding: 0 !important;
    box-sizing: border-box;
    text-overflow: ellipsis;
    vertical-align: middle;
    position: relative;
    text-align: center !important;
    z-index: 1;
}

.table :where(thead, tfoot) :where(th, td) {
    font-size: 1em !important;
    line-height: 1rem !important;
    font-weight: 700;
    text-transform: uppercase;
}

/* 
 el-table checkbox 组件
*/

.el-checkbox__inner {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 auto !important;
    height: 1.4rem !important;
    width: 1.4rem !important;
    cursor: pointer;
    border-radius: 5px !important;
    border-width: 1px !important;
}

/* checkbox 选中对号 */

.el-checkbox  .el-checkbox__inner::after {
    box-sizing: content-box;
    content: "";
    border: 3px solid var(--el-checkbox-checked-icon-color);
    border-left: 0;
    border-top: 0;
   
    left: 6px;
    position: absolute;
    top: 3px;
    transform: rotate(45deg) scaleY(0);
    width: 0.3rem;
    height: 0.7rem;
    transition: transform .15s ease-in 50ms;
    transform-origin: center;
}

.el-checkbox__input.is-indeterminate .el-checkbox__inner {
    background-color: #1f2937 !important;
    border-color: #1f2937 !important;
}

.el-checkbox__inner:hover {
    border-color: #1f2937 !important;
}

.el-checkbox__input.is-checked .el-checkbox__inner {
    background-color: #1f2937 !important;
    border-color: #1f2937 !important;
}

.el-checkbox__input.is-indeterminate .el-checkbox__inner::before {
    content: "";
    position: absolute;
    display: block;
    background-color: var(--el-checkbox-checked-icon-color);
    height: 0px !important;
    transform: scale(.5);
    left: 0;
    right: 0;
    top: 5px;
}

/* 分页 */

.el-pager li {
    /* width: 48px;
    height: 48px !important; */
    border-radius: 12px !important;
}

.el-input {
    --el-input-focus-border-color:#1f2937 !important;
}


.el-input__wrapper:focus {
    border: 1px solid #1f2937 !important;
}

.el-input:focus {
    border: 1px solid #1f2937 !important;
}


.btn-prev .el-icon
,.btn-next .el-icon {
    display: flex !important;
    margin:0 auto;
    font-size: 1.2rem !important;
    cursor: pointer;
}

.el-pagination button:hover {
color: #f56c6c !important;
}

.el-pagination.is-background .el-pager li.is-active {
    background-color: #1f2937 !important;
}

.el-pager li:hover {
    color:#f56c6c !important;
}

